package com.LastingRunner;

import com.androidplot.series.XYSeries;

public class RunningDataXYSeries implements XYSeries {

	private Number[] dates;
	private Number[] laps;//={2,3,4,5,6,7};
	public RunningDataXYSeries(Number[] dates, Number[] laps){
		this.dates = dates;
		this.laps = laps;
		
	}
	
	@Override
	public String getTitle() {
		return "";
	}

	@Override
	public int size() {
		return laps.length;
	}

	@Override
	public Number getX(int arg0) {
		return dates[arg0];
	}

	@Override
	public Number getY(int arg0) {
		return laps[arg0];
	}
	
	 
}
